@import "mixins/mixins";
@import "common/var";
@import "_main";
@import "_rate";

@include b(fol) {
  @include e(container) {
    background-color: $--color-white;
  }

  @include e(nav) {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;

    @include m(body) {
      height: 44px;
      width: 750rpx;
      white-space: nowrap;
      background: #fff;
      border-top: 1rpx solid #cbcbcb;
      border-bottom: 1rpx solid #f3f3f3;
      overflow: hidden;

      & .item {
        display: inline-block;
        height: 44px;
        min-width: 75px;
        text-align: center;
        width: 50%;
      }

      & .item .name {
        display: block;
        height: 38px;
        padding: 0 10px;
        line-height: 40px;
        color: #3f3f3f;
        font-size: 16px;
        width: auto;
      }

      & .item.active .name {
        color: #ff2445;
        // border-bottom: 2px solid #ff2445;
      }

      & .item.active .seperate {
        width: 16px;
        height: 4px;
        border-radius: 2px;
        -webkit-border-radius: 2px;
        -moz-border-radius: 2px;
        -ms-border-radius: 2px;
        -o-border-radius: 2px;
        background-color: #ff2445;
        margin: 0 auto;
      }
    }
  }
  @include e(list) {
    padding-top: 44px;
  }

  @include e(seperate) {
    width: 720rpx;
    margin-left: 30rpx;
    height: 1rpx;
    background-color: #f3f3f3;
  }

  @include e(item) {
    display: flex;
    padding: 15px 35px 15px 10px;
    border-bottom: 1px solid #f3f3f3;

    & > image {
      flex: 0 0 43%;
      width: 282rpx;
      height: 166rpx;
    }

    & .info {
      flex: 0 0 57%;
      max-width: 400rpx;
      margin-left: 10px;
      & .title {
        font-size: 16px;
        color: #292929;
      }

      & .author {
        margin-top: 8px;
        font-size: 12px;
        color: #939393;
      }

      & .price {
        font-size: 14px;
        color: #ff0036;

        & span {
          font-size: 10px;
        }
      }
    }
  }

  @include e(rate) {
    margin-top: 10px;
  }
}
